package com.kaikai.aclservice.service;

import com.kaikai.aclservice.entity.AclPermission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author yujiankai
 * @since 2021-07-10
 */
public interface AclPermissionService extends IService<AclPermission> {

    List<AclPermission> selectList(List<AclPermission> permissionList);

    void removeChildrenById(String id);
    void deleteById(String id);

    void saveRolePermissionRealtionShip(String roleId, String[] permissionIds);
}
